package com.love.cloud.log.service.impl;

import com.love.cloud.log.api.entity.SysLog;
import com.love.cloud.log.api.provider.RemoteLogProvider;
import com.love.cloud.log.mapper.SysLogMapper;

import javax.annotation.Resource;

//@DubboService(version = "1.0.0",timeout = 30000)
public class RemoteLogProviderImpl implements RemoteLogProvider {
    @Resource
    private SysLogMapper logMapper;

    @Override
    public void saveLog(SysLog sysLog) {
        logMapper.insert(sysLog);
    }
}
